<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.ufida.ebscg.comm.session.UserBean" %>
<%@ page import="java.lang.*" %>
<%
   UserBean useBean=(UserBean)request.getSession().getAttribute("EBSCG_SESSION_ID_");
   
   //session.removeAttribute("EBSCG_SESSION_ID_");
   //session.invalidate();
   if(null != useBean){
	   String strUsers = (String) application.getAttribute("LOGINUSERS");
	   if(null != strUsers){
		   application.removeAttribute("LOGINUSERS"); 
		   strUsers=strUsers.replace(","+useBean.getTempUsername().toLowerCase()+":"+request.getRemoteAddr(),"");
		   application.setAttribute("LOGINUSERS",strUsers); 
		}
	}
 %>
<script>location.href="index.jsp";</script>